package com.quanyan.user.service;

import com.quanyan.api.APIResponse;
import com.quanyan.user.model.db.TbComment;
import com.quanyan.user.model.vo.request.ReqNewsComment;
import com.quanyan.user.model.vo.request.ReqNewsCommentDel;

import java.util.List;

/**
 * Created by Administrator on 2016/11/15.
 * 评论
 */
public interface NewsCommentService {
    /**
     * 评论
     * @param reqNewsComment
     * @return
     */
    public APIResponse addComment(ReqNewsComment reqNewsComment);


    /**
     * 评论
     * @param reqNewsCommentDel
     * @return
     */
    public APIResponse delComment(ReqNewsCommentDel reqNewsCommentDel);


    /**
     * 获取评论列表
     * @return
     */
    public APIResponse queryComment(ReqNewsComment reqNewsComment);


    /**
     * 批量获取评论
     * @param newIds
     * @return
     */
    public List<TbComment> batchQueryById(List<Integer> newIds);

}
